package org.starapp.generator;

import java.util.ArrayList;
import java.util.List;

public class PrimaryKey {
	// PKCOLUMN_NAME
	private String columnName;//列名称
	private String tableCat;//表类别（可为 null）
	private String tableShem;//表模式（可为 null）
	private String tableName;//表名称
	private short keySeq ;//主键中的序列号（值 1 表示主键中的第一列，值 2 表示主键中的第二列）
	private String pkName;//主键的名称（可为 null）
	//
	private String className;
	private String classAttrName;
	private String javaColumnName;
	private String javaColumnAttrName;

	private List<ForeignKey> fkList=new ArrayList<ForeignKey>();
	
	public List<ForeignKey> getFkList() {
		return fkList;
	}

	public void setFkList(List<ForeignKey> fkList) {
		this.fkList = fkList;
	}


	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getClassAttrName() {
		return classAttrName;
	}

	public void setClassAttrName(String classAttrName) {
		this.classAttrName = classAttrName;
	}

	public String getJavaColumnName() {
		return javaColumnName;
	}

	public void setJavaColumnName(String javaColumnName) {
		this.javaColumnName = javaColumnName;
	}

	public String getJavaColumnAttrName() {
		return javaColumnAttrName;
	}

	public void setJavaColumnAttrName(String javaColumnAttrName) {
		this.javaColumnAttrName = javaColumnAttrName;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getTableCat() {
		return tableCat;
	}

	public void setTableCat(String tableCat) {
		this.tableCat = tableCat;
	}

	public String getTableShem() {
		return tableShem;
	}

	public void setTableShem(String tableShem) {
		this.tableShem = tableShem;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public short getKeySeq() {
		return keySeq;
	}

	public void setKeySeq(short keySeq) {
		this.keySeq = keySeq;
	}

	public String getPkName() {
		return pkName;
	}

	public void setPkName(String pkName) {
		this.pkName = pkName;
	}

}
